import {myRequest} from "../utils/request.js"

//小福竞猜活动列表接口
export function guessList(data) {
	return myRequest({
		url: 'matter_award_config/list',
		method: "POST",
		data:data||{}
	})
}

//竞猜活动详情
export function activityDetails(data) {
	return myRequest({
		url: 'matter_award_config/info',
		method: "POST",
		data:data||{}
	})
}
//我的竞猜数据
export function myGuessing(data) {
	return myRequest({
		url: 'member_luck_draw/index',
		method: "POST",
		data:data||{}
	})
}
//立即竞猜
export function luckDraw(data) {
	return myRequest({
		url: 'member_luck_draw/luckDraw',
		method: "POST",
		data:data||{}
	})
}
//领奖进度
export function winProgress(data) {
	return myRequest({
		url: 'winning_member/index',
		method: "POST",
		data:data||{}
	})
}
//填写收货地址
export function saveDeliveryAddress(data) {
	return myRequest({
		url: 'winning_member/saveDeliveryAddress',
		method: "POST",
		data:data||{}
	})
}
//确认收货
export function confirmReceipt(data) {
	return myRequest({
		url: 'winning_member/confirmReceipt',
		method: "POST",
		data:data||{}
	})
}

//拉新活动列表
export function activityList(data) {
	return myRequest({
		url: 'newcomer_activity/list',
		method: "POST",
		data:data||{}
	})
}
//拉新活动详情页
export function activityInfo(data) {
	return myRequest({
		url: 'newcomer_activity/info',
		method: "POST",
		data:data||{}
	})
}
//拉新活动领取
export function activityReceive(data) {
	return myRequest({
		url: 'newcomer_record/receive',
		method: "POST",
		data:data||{}
	})
}
//拉新领取记录
export function activityRecordList(data) {
	return myRequest({
		url: 'newcomer_record/list',
		method: "POST",
		data:data||{}
	})
}
//七日贡献列表
export function sevenDayList(data) {
	return myRequest({
		url: 'colourful_activity/index',
		method: "POST",
		data:data||{}
	})
}
//七日贡献详情
export function sevenDayDetail(data) {
	return myRequest({
		url: 'colourful_activity/details',
		method: "POST",
		data:data||{}
	})
}
//参加多彩活动
export function sevenDayEnter(data) {
	return myRequest({
		url: 'colourful_activity/enter',
		method: "POST",
		data:data||{}
	})
}